with open("learning_python.txt") as file:
	print(file.read())

with open("learning_python.txt") as file:
	for line in file:
		print(line)

lines = []
with open("learning_python.txt") as file:
	for line in file.readlines():
		lines.append(line.strip())

for line in lines:
	print(line)